package com.clsfd.database;

import java.io.Serializable;
import java.sql.SQLException;

public class ClassifiedItem implements Serializable {

	
	
	private int ItemID=0;
	private int ParentID=0;
	private String Name ="";
	private String Prompt="";
	private int Rank=0;
	private String Keywords="";
	private String ServiceType="";
	private int Level=0;
	private DatabaseConnection DatabaseCon=null;
	
	public ClassifiedItem(DatabaseConnection databaseCon,int itemID, int parentID, String name, String prompt,int rank) {
		super();
		ItemID = itemID;
		ParentID = parentID;
		Name = name;
		Prompt = prompt;
		Rank = rank;
		DatabaseCon=databaseCon;
	}
	
	public ClassifiedItem(int itemID, int parentID, String name, String prompt,
			int rank, String keywords, String serviceType, int level,
			DatabaseConnection databaseCon) {
		super();
		ItemID = itemID;
		ParentID = parentID;
		Name = name;
		Prompt = prompt;
		Rank = rank;
		Keywords = keywords;
		ServiceType = serviceType;
		Level = level;
		DatabaseCon = databaseCon;
	}

	public int getItemID() {
		return ItemID;
	}

	public void setItemID(int itemID) {
		ItemID = itemID;
	}

	public int getParentID() {
		return ParentID;
	}

	public void setParentID(int parentID) {
		ParentID = parentID;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getPrompt() {
		return Prompt;
	}

	public void setPrompt(String prompt) {
		Prompt = prompt;
	}

	public int getRank() {
		return Rank;
	}

	public void setRank(int rank) {
		Rank = rank;
	}

	public String getKeywords() {
		return Keywords;
	}

	public void setKeywords(String keywords) {
		Keywords = keywords;
	}

	public String getServiceType() {
		return ServiceType;
	}

	public void setServiceType(String serviceType) {
		ServiceType = serviceType;
	}

	public int getLevel() {
		return Level;
	}

	public void setLevel(int level) {
		Level = level;
	}
	

}
